import React, { Component } from 'react';

class Content extends Component {
  render() {
    // 接受父组件传递过来的props
    const { desc } = this.props
    return (
      <div>
        <p>{ desc }</p>
      </div>
    );
  }
}

export default Content;
